package org.innovasix.educational.javap.domain.datatypes;

import java.util.logging.Logger;

import org.innovasix.educational.javap.domain.constantpool.MethodsEntryFactory;

public class method_info {

	private static final Logger log = Logger.getLogger(method_info.class.getName());
	
	u2 access_flags;
	
	u2 name_index;
	
	u2 descriptor_index;
	
	u2 attributes_count;
	
	Object o;

	public u2 getAccess_flags() {
		return access_flags;
	}

	public void setAccess_flags(u2 access_flags) {
		this.access_flags = access_flags;
		log.info("access_flags set to " + access_flags);
	}

	public u2 getName_index() {
		return name_index;
	}

	public void setName_index(u2 name_index) {
		this.name_index = name_index;
		log.info("name_index set to " + name_index);
	}

	public u2 getDescriptor_index() {
		return descriptor_index;
	}

	public void setDescriptor_index(u2 descriptor_index) {
		this.descriptor_index = descriptor_index;
		log.info("descriptor_index set to " + descriptor_index);
	}

	public u2 getAttributes_count() {
		return attributes_count;
	}

	public void setAttributes_count(u2 attributes_count) {
		this.attributes_count = attributes_count;
		log.info("attributes_count set to " + attributes_count);
	}

	public Object getO() {
		return o;
	}

	public void setO(Object o) {
		this.o = o;
	}
	
	
	
}
